<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Control Panel - Log in</title>
</head><style type="text/css">
.main_login {
	width:380px;
	margin:190px auto auto auto;
	font:10px Tahoma ;
	border:#BFBFBF 1px solid;
	padding-bottom:6px;
}

.login_header {
	background:#FFCB7F;
	height:22px;
	font-weight:bold;
	padding-top:5px;
	margin-bottom:20px;
	padding-left:10px;
	border-bottom:#BFBFBF 1px solid;
	color:#AB5314;
	font-size:13px;
	font-family:Verdana, Arial, Helvetica, sans-serif
}
#section-detail{
	padding: 10px;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	background-color: #f0f0f0;
	margin-bottom: 20px;
}
#section{
	background: #dfefff url(/img/admin/bg-section.gif) repeat-x; 
	color: #222222; 
	font-size: 12px;
	font-weight: bold;
	padding: 10px;
	border-bottom: 1px solid #d0e0f1;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-radius-topleft: 8px;
	-webkit-border-radius-topright: 8px;
}
</style>
<script language="javascript">
	function gologin(){
		var uname=document.getElementById('userlogin');
		var upwd=document.getElementById('userpwd');
		if(uname.value==''){
			alert('Please input username.');
			uname.focus();
		}else if(upwd.value==''){
			alert('Please');
			upwd.focus();
		}else{
			document.forms[0].action='<?=site_url("admin/authentication")?>';
			document.forms[0].submit();
		}
	}
</script>
<body>
<div style='margin: 0 auto; width: 350px; font-family:Arial, Helvetica, sans-serif'>
	<div id='section' style='margin-top: 50px;'>Login</div>
	<div id='section-detail'>
<div style='padding: 0 20px;'>
			<form id='login-form' action='' method='post'>
	  		<div style='color: #444444; font-size: 12px; color: #555; padding-bottom: 5px;'>Username</div>
	  		<input type='text' name='userlogin' id="userlogin" style='padding: 5px; font-size: 16px; width: 250px; '><BR><BR>
	  		<div style='color: #444444; font-size: 12px; color: #555; padding-bottom: 5px;'>Password</div>
	  		<input name='userpwd' type='password' id="userpwd" style='padding: 5px; font-size: 16px; width: 250px; ' size=30  />
	  		<br/><br/>
	  		
			<input type='submit' class="kh_button" name="btnlogin" onclick="gologin()" value='Login' style='border: 1px solid #666; background-color: #808080; color: #f0f0f0; -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 5px 10px; font-weight: bold; cursor: pointer;'>
			</form>
            
		</div>
	</div>
	
	<div style='width: 300px; text-align: left; margin: 0 auto; font-size:11px; color:#0CF; padding-top:10px;'>
	<a href=''>Lost your password?</a>
	</div>
</div>
</body>
</html>